package com.example.layui_project.service;

import com.example.layui_project.comm.service.BaseService;
import com.example.layui_project.entity.SysUser;
import com.fasterxml.jackson.databind.ser.Serializers;

public interface UserService extends BaseService<SysUser> {
    public boolean isExist(SysUser user);

    // 用于实验shiro登录使用
    public SysUser isExist(String username);

    public boolean add(SysUser user);

    public boolean del(Integer id);

    public boolean update(SysUser user);

    public SysUser getAllRoleAndPermissionByUser(String username);
}
